home *** CD-ROM | disk | FTP | other *** search
- Path: cougar.vut.edu.au!yarrobank!s9515994
- From: s9515994@dingo.vut.edu.au
- Newsgroups: comp.lang.c++
- Subject: Help for BC++4.53 TFileOpenDialog Class!
- Date: Thu, 14 Mar 1996 06:18:29 GMT
- Organization: Victoria University of Technology
- Message-ID: <s9515994.2.3147BA35@dingo.vut.edu.au>
- NNTP-Posting-Host: my.vut.edu.au
- Keywords: Help, BC4.5, TFileOPenDialog
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
-
- I have generated a MDI Client Program by using BC++ 4.53 AppExpert and want
- to using following routine to access a file. This routine can run well in a
- single program, but have the error massages when put it into the MDI Client
- program.
-
- Please help! Any help will be great usful to me!
- Many thanks!
-
- Please mail to: s9515994@dingo.vut.edu.au
- *******************************************************************************
- FileData = new TOpenSaveDialog::TData(OFN_HIDEREADONLY|OFN_FILEMUSTEXIST,
- "Config Files (*.ini)|*.ini|", 0, "", "INI");
- 376 if ((this,*FileData)).Execute() == IDOK)
- 377 MessageBox(FileData->FileName, "File Name", MB_OK | MB_ICONEXCLAMATION);
-
-
-
- Compiling DTSRTAPP.CPP:
- Error DTSRTAPP.CPP 376:
- Could not find a match for 'TFileOpenDialog::TFileOpenDialog(datasortApp *
- const,TOpenSaveDialog::TData)' in function datasortApp::CmSelectConfigFile()
-
- Error DTSRTAPP.CPP 377:
- Cannot convert 'char *' to 'const HWND__ near*' in
- function datasortApp::CmSelectConfigFile()
-
- Error DTSRTAPP.CPP 377:
- Type mismatch in parameter 1 in call to 'pascal MessageBox(const HWND__ near
- *,const char *,const char *,unsigned int)' in function datasortApp::CmS
- electConfigFile()
-
- Error DTSRTAPP.CPP 377:
- Cannot convert 'int' to 'const char *' in function
- datasortApp::CmSelectConfigFile()
-
- Error DTSRTAPP.CPP 377:
- Type mismatch in parameter 3 in call to 'pascal
- MessageBox(const HWND__ near*,const char *,const char *,unsigned int)' in
- function datasortApp::CmSelectConfigFile()
-
- Error DTSRTAPP.CPP 377:
- Too few parameters in call to 'pascal MessageBox(const HWND__ near*,const char
- *,const char *,unsigned int)' in function datasortApp::CmSelectConfigFile()
-
-